USE [Capstone]
GO

/****** Object:  StoredProcedure [dbo].[System_GetSystemDefaults]    Script Date: 07/22/2012 22:46:53 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
Create PROCEDURE [dbo].[System_GetSystemDefaults] 
	-- Add the parameters for the stored procedure here
@eFieldName nvarchar(200)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

Declare @iFieldName nvarchar(200);
Set @iFieldName = @eFieldName;

    -- Insert statements for procedure here
	SELECT 
     Field_Name, 
     Field_Key, 
     Field_Type, 
     Field_Description, 
     ModifiedDate 
    from 
     SystemDefaultValues
    Where
      Field_Name = @iFieldName
    
END

GO

